package com.gaoyi.websocket.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gaoyi.websocket.entity.TblNews;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author liaojunhui
 * @since 2021-03-19
 */
public interface TblNewsMapper extends BaseMapper<TblNews> {

    List<TblNews> selectByStr(String title);

    List<TblNews> selectAll();

    TblNews nextNews(Integer titleId);

    TblNews preNews(Integer titleId);
}
